
@extends('front.layout')
@section('title','名家风采')
@section('head')
    <div class="nav">
        <ul class="nav_body">
            <li><a href="/">首页</a></li>
            <li><a href="/conf">名家讲堂</a></li>
            <li><a href="/expert" class="current">名家风采</a></li>
            <li><a href="/review">往期视频</a></li>
        </ul>
    </div>
@endsection
@section('content')
    <div class="main">
        <div class="export">
            <div class="export_list clearfix">
                <?php
                $num=0;
                ?>
                @foreach($oExpert as $v)
                    <?php $num++?>
                    @if($num<3)
                        <div class="export_ship ">
                            <div class="export_ship_img">
                                <a href="/expert/info/{{$v->id}}"><img src="{{$v->thumb}}" /></a>
                            </div>
                            <div class="export_ship_txt">
                                <p>专家: {{$v->name}}</p>
                                <p>职位: {{$v->position}}</p>
                                <p>科室: {{$v->department}}</p>
                                <p>医院: {{$v->hospital}}</p>
                            </div>
                        </div>
                    @else
                        <?php $num=0?>
                        <div class="export_ship mar_0 ">
                            <div class="export_ship_img">
                                <a href="/expert/info/{{$v->id}}"><img src="{{$v->thumb}}" /></a>
                            </div>
                            <div class="export_ship_txt">
                                <p>专家: {{$v->name}}</p>
                                <p>职位: {{$v->position}}</p>
                                <p>科室: {{$v->department}}</p>
                                <p>医院: {{$v->hospital}}</p>
                            </div>
                        </div>
                    @endif
                @endforeach
            </div>
        </div>
        {{$oExpert->links('front.page')}}
    </div>
@endsection


